#ifndef _TX_RESOURCE_MANAGER_
#define _TX_RESOURCE_MANAGER_

#include "Iw2D.h"
#include <map>

class TxResourceManager
{
private:
	TxResourceManager();
	~TxResourceManager();
	static TxResourceManager*			manager;
	std::map<const char*, CIw2DImage*>	images;
public:
	static TxResourceManager*			getResoureceManager();
	CIw2DImage*							addImage(const char* fileName);	
	void								cleanManager();
};

#endif